<template>
  <div class="continer">
    <div class="publish_content">
      <div class="publish_sections">
        <div class="publih_publish">
          <div>发布动态</div>
          <div @click="close_cloe()"><img src="../assets/closes.png" /></div>
        </div>
        <div class="think_publish">
          <textarea maxlength="500" placeholder="这一刻的想法..."></textarea>
        </div>
        <!---->
        <div class="publish_imgs">
          <div class="upload_imgs"><img src="../assets/upload.png" /></div>
          <div class="publish_button">发布</div>
        </div>
      </div>
      <!----->
    </div>
    <div class="mask_contet" @click="close_cloe()"></div>
  </div>
</template>
<script>
export default {
  name: "ReleaseDynamics",
  methods:{
      close_cloe(){
          this.$emit('closes')
      }
  }
};
</script>
<style  scoped>
.continer {
  width: 100%;
}
.publish_content { 
  width: 28%;
  margin: 0 auto;
  background: #ffffff;
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 99999;
  border-radius: 10px;
  padding-bottom: 12px;
  padding-top: 12px;
}
.publish_sections {
  width: 90%;
  margin: 0 auto;
}
.publih_publish {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 16px;
  font-family: PingFang SC;
  font-weight: bold;
  color: #000000;
}
.think_publish {
  padding-top: 8px;
  background: #ffffff;
  border: 1px solid #4064e3;
  border-radius: 10px;
  margin-bottom: 10px;
  text-align: center;
}
.think_publish textarea {
  resize: none;
  width: 96%;
  margin: 0 auto;
  height: 80px;
  outline: 0;
  border: 0;
  border-radius: 10px;
  padding: 1px;
}
.think_publish textarea::-webkit-input-placeholder {
  font-size: 12px;
  font-family: PingFang SC;
  font-weight: 400;
  color: #999999;
}
.publish_imgs {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.upload_imgs img {
  width: 60px;
  height: 60px;
}
.publish_button {
  background: linear-gradient(161deg, #637fe7, #3659cf);
  border-radius: 22px;
  font-size: 13px;
  font-family: PingFang SC;
  font-weight: 500;
  color: #ffffff;
  line-height: 26px;
  width: 11%;
  text-align: center;
  height: 26px;
} 
.mask_contet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(221, 221, 221, 0.6);
}
</style>
   




























